package entity;

/*
 * id int primary key auto_increment,
  name varchar(20),  -- 用户名
  pwd varchar(32),   -- 加密后的密码
  salt varchar(32),  -- 盐
  stat boolean default false  -- 状态默认未登录
 */
public class Custom {
	private int id;
	private String name;
	private String pwd;
	private String salt;
	private boolean stat;
	
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getPwd() {
		return pwd;
	}
	public void setPwd(String pwd) {
		this.pwd = pwd;
	}
	public String getSalt() {
		return salt;
	}
	public void setSalt(String salt) {
		this.salt = salt;
	}
	public boolean isStat() {
		return stat;
	}
	public void setStat(boolean stat) {
		this.stat = stat;
	}
}
